package com.example.mqttclient.protocol;

public class FloatMessage extends BaseMessage {
    public float value;
    public String fieldName; // 新增字段

    public FloatMessage(String fieldName, float value) {
        this.fieldName = fieldName;
        this.value = value;
        this.type = Type.FLOAT.index;
    }
}